//
//  MoodObj.m
//  jishiben
//
//  Created by 李钰 on 2017/11/27.
//  Copyright © 2017年 jishiben. All rights reserved.
//

#import "MoodObj.h"

@implementation MoodObj
- (id)initWithDic:(NSDictionary *)dic
{
    if ([super init]) {
        self.Id = [dic[@"Id"] integerValue];
        self.creatTime = [dic[@"creatTime"] integerValue];
        self.mood = [dic[@"mood"] integerValue];
        self.status = [dic[@"status"] integerValue];
        self.creatDate = [NSString stringWithFormat: @"%@",dic[@"creatDate"]];
        self.doText = [NSString stringWithFormat: @"%@",dic[@"doText"]];
        self.weather = [dic[@"weather"] integerValue];
        
    }
    return self;
}
@end
